-
Notifications
You must be signed in to change notification settings - Fork 619
feat: add custom auth demo in playground #5418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5418 +/- ##
=======================================
Coverage 45.52% 45.52%
=======================================
Files 1070 1070
Lines 55665 55665
Branches 4030 4030
=======================================
Hits 25341 25341
Misses 29637 29637
Partials 687 687
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
|
@ElasticBottle on the dev preview i get a 401 btw |
Merge activity
|
https://linear.app/thirdweb/issue/CNCT-2364/custom-auth-demo-in-playground <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new `CustomLoginForm` component for handling user authentication via email in the `in-app-wallet` feature. It allows users to log in with a custom authentication endpoint while integrating with existing wallet functionalities. ### Detailed summary - Added `CustomLoginForm` component in `custom-login-form.tsx`. - Utilized `useMutation` for handling login requests with an email. - Implemented email input and submission handling in the `CustomLoginForm`. - Updated `page.tsx` to include `CustomLoginForm` with a new section for custom authentication UI. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
55a926a to
e958e75
Compare
https://linear.app/thirdweb/issue/CNCT-2364/custom-auth-demo-in-playground
PR-Codex overview
This PR introduces a new
CustomLoginFormcomponent for user authentication using an email address. It integrates a custom authentication strategy with theinAppWallet, enhancing the user experience by allowing seamless login and error handling.Detailed summary
CustomLoginFormcomponent incustom-login-form.tsx.useStateanduseMutation.inAppWalletfor custom authentication.page.tsxto includeCustomLoginFormin the UI with a new section for custom auth and UI.